<?php

class photo_add extends SClass {
    public function proccess() {
        try {
            if ($this->getControlValue('ok')) {
                $image = $this->getControlValue('fileimage');
                print_r($image);
            }
        } catch (ServiceUtils_Exception $e){
            $this->assign('errors', $e);
        }
    }
}